home *** CD-ROM | disk | FTP | other *** search
/ Aminet 1 (Walnut Creek) / Aminet - June 1993 [Walnut Creek].iso / usenet / sources / volume89 / kernel / xoper20.3 < prev   
Internet Message Format  |  1989-10-28  |  41KB

  1. Path: xanth!ames!sun-barr!newstop!sun!swap!root
  2. From: root%swap@Sun.COM (Operator)
  3. Newsgroups: comp.sources.amiga
  4. Subject: v89i192:  xoper - examine & control your kernel, Part03/03
  5. Message-ID: <127007@sun.Eng.Sun.COM>
  6. Date: 28 Oct 89 07:16:07 GMT
  7. Sender: news@sun.Eng.Sun.COM
  8. Lines: 1195
  9. Approved: page@sun.com
  10.  
  11. Submitted-by: g35@dhdurz1@bitnet (Werner Guenther)
  12. Posting-number: Volume 89, Issue 192
  13. Archive-name: kernel/xoper20.3
  14.  
  15. # This is a shell archive.
  16. # Remove anything above and including the cut line.
  17. # Then run the rest of the file through 'sh'.
  18. # Unpacked files will be owned by you and have default permissions.
  19. #----cut here-----cut here-----cut here-----cut here----#
  20. #!/bin/sh
  21. # shar: SHell ARchive
  22. # Run the following text through 'sh' to create:
  23. #    xoper.a3
  24. #    Xoper.startup
  25. #    Xoper.doc
  26. # This is archive 3 of a 3-part kit.
  27. # This archive created: Fri Oct 27 23:48:53 1989
  28. echo "extracting xoper.a3"
  29. sed 's/^X//' << \SHAR_EOF > xoper.a3
  30. Xcaptask     dc.l    0
  31. Xsnoopport   dc.l    0
  32. Xtasksnum    dc.l    0
  33. Xblanks        dc.l    0
  34. Xhidestart   dc.l    0
  35. Xdispnum     dc.l    0
  36. Xiocount     dc.l    0
  37. Xdummyinput  dc.l    0
  38. Xrastport    dc.l    0
  39. Xoutchain    dc.l    0
  40. Xfirstline   dc.l    0
  41. Xoldfirstline dc.l   0
  42. Xnumlines    dc.l    0
  43. Xoldnumlines dc.l    0
  44. Xgothline    dc.l    0
  45. Xlastprinted dc.l    0
  46. Xoldlastprinted dc.l 0
  47. Xoldpageend  dc.l    0
  48. Xmaxlines    dc.l    500
  49. Xrealstack   dc.l    0
  50. X
  51. X
  52. Xwnnormflgs  dc.l    $646
  53. X        dc.l    $1104f
  54. X
  55. Xwnscrflags  dc.l    $600
  56. X        dc.l    $31948
  57. X
  58. Xhistory     dc.l    *+4
  59. X        dc.l    0
  60. X        dc.l    history
  61. Xcurhist     dc.l    0
  62. X
  63. X
  64. Xsecs        dc.l    0
  65. Xmics        dc.l    0
  66. Xtime10        dc.l    0
  67. X
  68. Xtattr        dc.l    fontname
  69. X        dc.w    8
  70. X        dc.w    0
  71. X
  72. Xstplist     dc.l    lh_tail
  73. Xlh_tail     dc.l    0
  74. X        dc.l    stplist
  75. X        dc.b    1
  76. X        dc.b    0
  77. X
  78. XInInterrupt dc.l    0        ;ln_Succ
  79. X        dc.l    0        ;ln_Pred
  80. X        dc.b    2        ;ln_Type
  81. X        dc.b    60        ;ln_Pri
  82. X        dc.l    xopsleep    ;ln_Name
  83. X        dc.l    0        ;is_Data
  84. X        dc.l    Keyhandler    ;is_Code()
  85. X
  86. XIOCounter   dc.l    0        ;ln_Succ
  87. X        dc.l    0        ;ln_Pred
  88. X        dc.b    2        ;ln_Type
  89. X        dc.b    -1        ;ln_Pri
  90. X        dc.l    IOcntname    ;ln_Name
  91. X        dc.l    0        ;is_Data
  92. X        dc.l    countio    ;is_Code()
  93. X
  94. Xnewwindow   dc.w    0,0
  95. X        dc.w    500,100
  96. X        dc.b    0,1
  97. Xnwflgs        dc.l    $646
  98. X        dc.l    $1104f
  99. Xwn_firstgad dc.l    0
  100. X        dc.l    0
  101. X        dc.l    windowname
  102. Xnwscreen    dc.l    0
  103. X        dc.l    0
  104. X        dc.w    110,50
  105. X        dc.w    808,-1
  106. Xnwtype        dc.w    1
  107. X
  108. Xnewscreen   dc.w    0,0
  109. Xnssize        dc.w    0,0
  110. X        dc.w    1
  111. X        dc.b    0
  112. X        dc.b    1
  113. Xnsviewmode  dc.w    0
  114. X        dc.w    $1f
  115. X        dc.l    0
  116. X        dc.l    windowname
  117. X        dc.l    0,0
  118. X
  119. Xexcpterror  dc.l    0
  120. Xexcpttask   dc.l    0
  121. Xexcptaddr   dc.l    0
  122. Xexcptpc     dc.l    0
  123. X
  124. Xwindow_l    dc.w    0
  125. Xwindow_t    dc.w    0
  126. Xwindow_w    dc.w    550
  127. Xwindow_h    dc.w    200
  128. X
  129. Xcolms        dc.w    0
  130. Xtimersig    dc.w    0
  131. Xintuisig    dc.w    0
  132. Xibufferlen  dc.w    0
  133. Xcposy        dc.w    0
  134. Xcurpos        dc.w    0
  135. Xbottomin    dc.w    1
  136. Xipos        dc.w    0
  137. Xhnum        dc.w    0
  138. Xminnumchars dc.w    2
  139. Xmaxhlines   dc.w    10
  140. Xqualifier   dc.w    0
  141. Xrows        dc.w    0
  142. Xmaxllength  dc.w    0
  143. Xloffset     dc.w    0
  144. Xrepeat        dc.w    0
  145. Xrepeatlen   dc.w    0
  146. Xedline        dc.w    999
  147. Xcmdptr        dc.w    0
  148. Xgetanswer   dc.w    0
  149. Xcurrenty    dc.w    0
  150. X
  151. Xbinarea     dc.b    '          ',0
  152. X        EVEN
  153. Xminus        dc.b    '  '
  154. Xdecimal     dc.b    '    ',0
  155. Xentries     dc.b    0
  156. Xtimeout     dc.b    5
  157. Xprocnum     dc.b    0
  158. Xtimerstate  dc.b    0
  159. Xrunning     dc.b    0
  160. Xnewpri        dc.b    0
  161. Xtasktyp     dc.b    0
  162. Xbackground  dc.b    0
  163. Xbool        dc.b    0
  164. Xprinted     dc.b    0
  165. Xcbreak        dc.b    0
  166. Xusageflag   dc.b    0
  167. Xmnflag        dc.b    1
  168. Xtports        dc.b    1
  169. Xheadon        dc.b    1
  170. Xhideon        dc.b    1
  171. Xsorton        dc.b    1
  172. Xwanttraps   dc.b    0
  173. Xaddlines    dc.b    0
  174. Xeof        dc.b    0
  175. Xfromfile    dc.b    0
  176. Xiconifyon   dc.b    1
  177. Xgotguru     dc.b    0
  178. Xownscreen   dc.b    0
  179. Xinsmode     dc.b    0
  180. Xparams        dc.b    'tfdlrempisc'
  181. Xparmnum     equ     *-params
  182. X        dc.b    0
  183. Xt2header    dc.b    '   ID     STATE   SIGALLOC SIGWAIT  SIGRECVD    PC    TASKNAME',0
  184. Xtheader     dc.b    '   ID     TYPE      STATE    PRI  CPUSE NUM TASKNAME',0
  185. Xlheader     dc.b    '  NODE   CNT VER REV  FLAGS    ',0
  186. Xlibnam        dc.b    'LIBRARY NAME',0
  187. Xdevnam        dc.b    'DEVICE NAME',0
  188. Xresnam        dc.b    'RESOURCE NAME',0
  189. Xmheader     dc.b    ' LOWER   UPPER      FREE ATTR  PRI HUNK NAME',0
  190. Xcr        dc.b    10,0
  191. Xiheader     dc.b    '  NODE     DATA     CODE    PRI T S   TYPE     INTERRUPT NAME',0
  192. Xinheader    dc.b    '  NODE     DATA     CODE    PRI NAME',0
  193. Xrheader     dc.b    '  ADDR    PRI  FLAGS     VER   TYPE    RESIDENT NAME',0
  194. Xpheader     dc.b    '  NODE   PORTNAME        FLAGS SIGBT NUM SIGTASK',0
  195. Xhunkheader  dc.b    ' NUM  BCPL    DATA     LENGTH',0
  196. Xddheader    dc.b    'DEVICE    HDS SECTORS  TRACKS BUFFERS STATE    HANDLER',0
  197. Xcdheader    dc.b    'PROCESSNAME    CURRENT DIRECTORY',0
  198. Xofheader    dc.b    '  LOCK   ACCESS  SIZE   PATH/FILENAME',0
  199. Xscrheader   dc.b    'NUM   ADDR   TITLE',0
  200. Xfohead        dc.b    '  NODE   CNT  Y   X  TYPE  LO  HI NAME',0
  201. Xkickhead    dc.b    'START    END      LENGTH',0
  202. Xsnoophead   dc.b    'ACTION REQUIREMENTS        LENGTH   FROM    TO       CALLER',0
  203. Xstackhead   dc.b    'SPLower     SIZE    USED TASKNAME',0
  204. Xclicomhead  dc.b    '   ID    STATE    TYPE  MODE NUM PROCESSNAME      COMMAND',0
  205. Xtiohead     dc.b    'IORQUEST  UNIT   SECS  REQUESTING TASK',0
  206. Xdchead        dc.b    '  NODE     DATA     CODE   UNIT TASK',0
  207. Xalhead        dc.b    'ALIAS NAME        COMMAND',0
  208. Xtdd        dc.b    'trackdisk.device',0
  209. Xtddrives    dc.b    'DF : ',0
  210. Xtimerunits  dc.b    'MicroHz ',0
  211. X        dc.b    'VBlank  ',0
  212. Xaccess        dc.b    ' Read  ',0
  213. X        dc.b    ' Write ',0
  214. Xromfnt        dc.b    'Rom  ',0
  215. Xdiskfnt     dc.b    'Disk ',0
  216. Xwbname        dc.b    'Workbench',0
  217. Xstatus        dc.b    'Added    ',0
  218. X        dc.b    'Running  ',0
  219. X        dc.b    'Ready    ',0
  220. X        dc.b    'Waiting  ',0
  221. X        dc.b    'Exeption ',0
  222. X        dc.b    'Removed  ',0
  223. X        dc.b    'Frozen   ',0
  224. X        dc.b    'Frozen   ',0
  225. Xtype        dc.b    'Unknown   ',0
  226. Xtasktype    dc.b    'Task      ',0
  227. X        dc.b    'Interrupt ',0
  228. X        dc.b    'Device    ',0
  229. X        dc.b    'Msgport   ',0
  230. X        dc.b    'Message   ',0
  231. X        dc.b    'Freemsg   ',0
  232. X        dc.b    'Replymsg  ',0
  233. X        dc.b    'Resource  ',0
  234. X        dc.b    'Library   ',0
  235. X        dc.b    'Memory    ',0
  236. Xsoftinttype dc.b    'Softint   ',0
  237. X        dc.b    'Font      ',0
  238. Xproctype    dc.b    'Process   ',0
  239. X        dc.b    'Semaphore ',0
  240. Xmp_flags    dc.b    'Signal  ',0
  241. X        dc.b    'Softint ',0
  242. X        dc.b    'Ignore  ',0
  243. Xwindowname  dc.b    'Xoper V2.0  ) 1989 Werner G',$fc,'nther',0
  244. Xnewname     dc.b    'Xoper',0
  245. Xmemportname dc.b    'MemSnoop',0
  246. Xxopcon        dc.b    'XopPackets',0
  247. Xxopsleep    dc.b    'Xop-A-A-x',0
  248. XIOcntname   dc.b    'Xop-I/O-counter',0
  249. X
  250. Xcmdnum        set      0
  251. Xcommds        ADDCMD  'time'
  252. X        ADDCMD  'taskpri'
  253. X        ADDCMD  'info'
  254. X        ADDCMD  'pri'
  255. X        ADDCMD  'flush'
  256. X        ADDCMD  'freeze'
  257. X        ADDCMD  'warm'
  258. X        ADDCMD  'signal'
  259. X        ADDCMD  'break'
  260. X        ADDCMD  'alert'
  261. X        ADDCMD  'lastalert'
  262. X        ADDCMD  'hold'
  263. X        ADDCMD  'exit'
  264. X        ADDCMD  'clear'
  265. X        ADDCMD  'cancel'
  266. X        ADDCMD  'taskports'
  267. X        ADDCMD  'hunks'
  268. X        ADDCMD  'devices'
  269. X        ADDCMD  'openlib'
  270. X        ADDCMD  'closelib'
  271. X        ADDCMD  'currentdir'
  272. X        ADDCMD  'cd'
  273. X        ADDCMD  'mypri'
  274. X        ADDCMD  'files'
  275. X        ADDCMD  'locks'
  276. X        ADDCMD  'unlock'
  277. X        ADDCMD  'screens'
  278. X        ADDCMD  'windows'
  279. X        ADDCMD  'closescreen'
  280. X        ADDCMD  'closewindow'
  281. X        ADDCMD  'fonts'
  282. X        ADDCMD  'windowfonts'
  283. X        ADDCMD  'lockdrive'
  284. X        ADDCMD  'freedrive'
  285. X        ADDCMD  'capture'
  286. X        ADDCMD  'clrcold'
  287. X        ADDCMD  'clrcool'
  288. X        ADDCMD  'clrwarm'
  289. X        ADDCMD  'snoop'
  290. X        ADDCMD  'usage'
  291. X        ADDCMD  'inputhandler'
  292. X        ADDCMD  'header'
  293. X        ADDCMD  'sort'
  294. X        ADDCMD  'hide'
  295. X        ADDCMD  'hidden'
  296. X        ADDCMD  'window'
  297. X        ADDCMD  'kill'
  298. X        ADDCMD  'iconifyoff'
  299. X        ADDCMD  'historylines'
  300. X        ADDCMD  'minimumchars'
  301. X        ADDCMD  'showhistory'
  302. X        ADDCMD  'repeat'
  303. X        ADDCMD  'remresident'
  304. X        ADDCMD  'saveoutput'
  305. X        ADDCMD  'killhistory'
  306. X        ADDCMD  'backdropicon'
  307. X        ADDCMD  'setfont'
  308. X        ADDCMD  'trapguru'
  309. X        ADDCMD  'outputlines'
  310. X        ADDCMD  'usescreen'
  311. X        ADDCMD  'usewindow'
  312. X        ADDCMD  'timerio'
  313. X        ADDCMD  'diskchange'
  314. X        ADDCMD  'alias'
  315. X        ADDCMD  'remnode'
  316. Xhexarea     dc.b    '         ',0
  317. Xhextab        dc.b    '0123456789abcdef'
  318. Xinfoh2        dc.b    'Dispat/Sec:',0
  319. Xinfoh1        dc.b    'CPU:',0
  320. Xinfoh3        dc.b    'CPU activity: ',0
  321. Xinfoh6        dc.b    'Total:',0
  322. Xinfoh4        dc.b    '% ',0
  323. Xinfoh7        dc.b    'I/O Ints/Sec: ',0
  324. Xcpu0        dc.b    '68000',0
  325. Xcpu1        dc.b    '68010',0
  326. Xcpu2        dc.b    '68020',0
  327. Xcpu3        dc.b    '/68881',0
  328. Xdevload     dc.b    'loaded   ',0
  329. Xdevnload    dc.b    'unloaded ',0
  330. Xinten        dc.b    'E ',0
  331. Xintdis        dc.b    'D ',0
  332. Xintserv     dc.b    'S ',0
  333. Xinthand     dc.b    'H ',0
  334. Xnotfile     dc.b    '--- ------- ------- ------- ',0
  335. Xlongnix     dc.b    '-----'
  336. Xnix        dc.b    '--- ',0
  337. Xnoinfo        dc.b    'No Info on'
  338. Xoneblank    dc.b    ' ',0
  339. Xequal        dc.b    '=  ',0
  340. Xnamerr        dc.b    'Unable to find ',0
  341. Xfonterr     dc.b    "Can't open ",0
  342. Xadrerr        dc.b    'Address Error!',0
  343. Xaliaserr    dc.b    'Single character alias names using "',0
  344. Xaliaserr2   dc.b    '"',10,'are not allowed.',0
  345. Xopenerr     dc.b    'Could not open file ',0
  346. Xnoderr        dc.b    "Can't find this Node. Continue anyway ? (Y/N)",0
  347. Xlisterr     dc.b    'Unable to find ListHeader. Sort aborted.',0
  348. Xwiwerr        dc.b    'Script file only',0
  349. Xgurutxt     dc.b    'Guru Meditation #',0
  350. Xclrtxt        dc.b    'Memory Hunks cleared.',0
  351. Xcanerr0     dc.b    'Process is not a CLI-task',10
  352. X        dc.b    'Has it been started from Workbench ? (Y/N)',10,0
  353. Xcanerr1     dc.b    'Process was created by CreateProc()',10
  354. X        dc.b    'Shall I UnLoad() ? (Y/N)',10,0
  355. Xunloaderr   dc.b    "Arrrgh.. can't find segments, aborting",0
  356. Xnoprocs     dc.b    'Not a Process.',0
  357. Xnotload     dc.b    'No program loaded.',0
  358. Xcliprocs    dc.b    'Cli-Process',0
  359. Xprocloaded  dc.b    'Loaded as a command: ',0
  360. Xsegloaded   dc.b    'Created by CreateProc()',0
  361. Xcoldtxt     dc.b    'Cold Capture: ',0
  362. Xcooltxt     dc.b    'Cool Capture: ',0
  363. Xwarmtxt     dc.b    'Warm Capture: ',0
  364. Xkicktxt     dc.b    'KickMem     : ',0
  365. Xunset        dc.b    'unset',0
  366. Xintnames    dc.b    'Serial Out ',0
  367. X        dc.b    'Disk Block ',0
  368. X        dc.b    'SoftInt    ',0
  369. X        dc.b    'Ports      ',0
  370. X        dc.b    'Coper      ',0
  371. X        dc.b    'Vert.Blank ',0
  372. X        dc.b    'Blitter    ',0
  373. X        dc.b    'Audio Ch.0 ',0
  374. X        dc.b    'Audio Ch.1 ',0
  375. X        dc.b    'Audio Ch.2 ',0
  376. X        dc.b    'Audio Ch.3 ',0
  377. X        dc.b    'Serial In  ',0
  378. X        dc.b    'Disk Sync  ',0
  379. X        dc.b    'External   ',0
  380. X        dc.b    'SoftInt    ',0
  381. X        dc.b    'NMI        ',0
  382. Xinttyp        dc.b    0,0,1,1,1,1,0,0,0,0,0,0,0,1,1,1
  383. Xfontname    dc.b    'topaz.font',0
  384. Xdevicenam   dc.b    'input.device',0
  385. Xtimernam    dc.b    'timer.device',0
  386. Xmemlarg     dc.b    'LARGEST ',0
  387. Xmemclr        dc.b    'CLEAR ',0
  388. Xmemfast     dc.b    'FAST ',0
  389. Xmemchip     dc.b    'CHIP ',0
  390. Xmempubl     dc.b    'PUBLIC ',0
  391. Xfailed        dc.b    'Failed !',0
  392. Xallok        dc.b    'ALLOC: ',0
  393. Xfree        dc.b    'FREE: ',0
  394. Xbackg        dc.b    'Bckg ',0
  395. Xforeg        dc.b    'Frgr ',0
  396. Xscript        dc.b    'Batch ',0
  397. Xinteract    dc.b    'Intct ',0
  398. Xstartupname dc.b    'S:Xoper.Startup',0
  399. Xnameerr     dc.b    'Name or address is missing.',10
  400. Xsynerr        dc.b    'Syntax Error, type "?" for help',10,0
  401. Xwberr        dc.b    "Can't examine Workbench locks",0
  402. Xdnotf        dc.b    'Directory not found',0
  403. Xnotdir        dc.b    'Not a directory',0
  404. Xnomount     dc.b    ' not mounted.',0
  405. Xdishelp     dc.b    10,'Names are case sensitive and followed by a ":"',0
  406. Xunlerr        dc.b    'Lock not found',0
  407. Xunl1        dc.b    'Lock is on ',0
  408. Xunltxt        dc.b    'Old lock was: ',0
  409. Xunltxt2     dc.b    'Unlock ? (Y/N)',10,0
  410. Xscnofound   dc.b    'Screen not found.',0
  411. Xwinnofound  dc.b    'Window not found.',0
  412. Xstperr        dc.b    'Task must be "READY" or "WAITING"',10,0
  413. Xwaerr        dc.b    'Task must be "FROZEN"',10,0
  414. Xwhatsthis   dc.b    '???.?',0
  415. Xtoomuch     dc.b    '??? ',0
  416. Xtimenotset  dc.b    'Refresh disabled.',0
  417. Xwhattime    dc.b    'Refresh time in secs:',0
  418. Xstoped        dc.b    '<Break>',0
  419. Xonscr        dc.b    'On Screen: ',0
  420. Xwhatnow     dc.b    'Kill, ignore (K/I)?',0
  421. Xnoguru        dc.b    'None found.',0
  422. Xsoftfail    dc.b    'Software failure!',10,'Task: ',0
  423. Xaddrserr    dc.b    'Bad alligned address was: ',0
  424. Xprocount    dc.b    'PC: ',0
  425. Xdiskfont    dc.b    'diskfont.library',0
  426. Xusetxt        dc.b    'USAGE: Xoper [T] [F] [L] [D] [R] [E] [M] [P] [I] [S] [C]',10
  427. X        dc.b    'OR     Xoper -b',10
  428. X        dc.b    'DISPLAY:',10
  429. X        dc.b    '[T]asks    [F]=taskflags [L]ibraries [D]evices    [R]esources',10
  430. X        dc.b    'r[E]sident [M]emory      [P]orts     [I]nterrupts [S]tack',10
  431. X        dc.b    '[C]litasks [Q]uit',10,10
  432. X        dc.b    'OTHER SYSTEM LISTS:',10
  433. X        dc.b    'Windows    Screens      Fonts       WindowFonts  CurrentDir',10
  434. X        dc.b    'Files      Locks        Devices     InputHandler Capture',10
  435. X        dc.b    'TimerIO    DiskChange',10,10
  436. X        dc.b    'COMMANDS:',10
  437. X        dc.b    'Time         <secs>',10
  438. X        dc.b    'Taskpri      <priority>  [processnum] <taskname>',10
  439. X        dc.b    'Mypri        <priority>',10
  440. X        dc.b    'Signal       <mask(hex)> [processnum] <taskname>',10
  441. X        dc.b    'Break        [processnum] <taskname>',10
  442. X        dc.b    'Freeze|Warm  [processnum] <taskname>',10
  443. X        dc.b    'Kill         [processnum] <taskname>',10
  444. X        dc.b    'Snoop        [processnum] <taskname>',10
  445. X        dc.b    'Hide         <taskname>',10
  446. X        dc.b    'Pri          <priority> <nodename>',10
  447. X        dc.b    'Info         <name>',10
  448. X        dc.b    'RemResident  <resident module name>',10
  449. X        dc.b    'Clear        <longword(hex)>',10
  450. X        dc.b    'Hunks        [processnum] <procname>',10
  451. X        dc.b    'CD           <directory> [processnum] <procname>',10
  452. X        dc.b    'UnLock       <lock>',10
  453. X        dc.b    'OpenLib    | Closelib <libraryname>',10
  454. X        dc.b    'CloseWindow| Closescreen <title>',10
  455. X        dc.b    'SetFont      [size] <fontname> <windowtitle>',10
  456. X        dc.b    'LockDrive  | Freedrive   <drivename:>',10
  457. X        dc.b    'Window       <leftedge topedge width height> (scriptfile only) ',10
  458. X        dc.b    'OutputLines  <maximum # of lines>',10
  459. X        dc.b    'HistoryLines <maximum # of lines>',10
  460. X        dc.b    'MinimumChars <minimum # of characters>',10
  461. X        dc.b    'SaveOutput   <filename>',10
  462. X        dc.b    'Repeat       <Command line>',10
  463. X        dc.b    'Alias        [<aliasname> <commandname>]',10,10
  464. X        dc.b    'COMMADS WITHOUT PARAMETERS:',10
  465. X        dc.b    'Flush      LastAlert    ClrCool     ClrCold      ClrWarm',10
  466. X        dc.b    'TrapGuru',10,10
  467. X        dc.b    'OPTIONS:',10
  468. X        dc.b    'Sort       TaskPorts    Hidden      Usage        Header',10
  469. X        dc.b    'IconifyOff BackDropIcon ShowHistory KillHistory  UseScreen',10
  470. X        dc.b    'UseWindow',10
  471. X        dc.b    'Hold       Exit'
  472. Xnull        dc.b    0
  473. X
  474. X    IFD DEBUG
  475. Xdosname     dc.b    'dos.library',0
  476. Xintuiname   dc.b    'intuition.library',0
  477. Xgfxname     dc.b    'graphics.library',0
  478. Xconname     dc.b    'console.device',0
  479. X        EVEN
  480. X    ENDC
  481. X
  482. X        BSS     blabla
  483. Xbuffer        ds.b    2200
  484. Xout        ds.b    100
  485. Xdummy        ds.b    80
  486. Xin        ds.b    80
  487. Xcputime     ds.b    1000
  488. Xievent        ds.b    32
  489. Xoutevent    ds.b    20
  490. Xinputbuffer ds.b    88
  491. Xrepeatbuffer ds.b   81
  492. X
  493. Xmypacket    BSS     standardpacket
  494. X
  495. XLN_SUCC     ds.l    1
  496. XLN_PRED     ds.l    1
  497. XLN_TYPE     ds.b    1
  498. XLN_PRI        ds.b    1
  499. XLN_NAME     ds.l    1
  500. XMP_FLAGS    ds.b    1
  501. XMP_SIGBIT   ds.b    1
  502. XMP_SIGTASK  ds.l    1
  503. XMN_SIZE     ds.w    1
  504. XLH_HEAD     ds.l    1
  505. XLH_TAIL     ds.l    1
  506. XLH_TAILPRED ds.l    1
  507. XLH_TYPE     ds.b    1
  508. XLH_pad        ds.b    1
  509. Xdp_Link     ds.l    1
  510. Xdp_Port     ds.l    1
  511. Xdp_Type     ds.l    1
  512. Xdp_Res1     ds.l    1
  513. Xdp_Res2     ds.l    1
  514. Xdp_Arg1     ds.l    1
  515. Xdp_Arg2     ds.l    1
  516. Xdp_Arg3     ds.l    1
  517. Xdp_Arg4     ds.l    1
  518. Xdp_Arg5     ds.l    1
  519. Xdp_Arg6     ds.l    1
  520. Xdp_Arg7     ds.l    1
  521. X
  522. Xtimerio     ds.b    40
  523. X
  524. X        CODE ICONIFY,CHIP
  525. X
  526. Xiconify     lea     icnwindow,a0
  527. X        CALL    OpenWindow,intuibase
  528. X        move.l  d0,iconwindow
  529. X
  530. Xwaitforcall move.l  iconwindow,a0
  531. X        move.l  $56(a0),a0              ;wn->UserPort
  532. X
  533. X        moveq   #0,d1
  534. X        move.b  15(a0),d1               ;UserPort->SigBit
  535. X        bset    d1,d0
  536. X        move.l  d0,d6
  537. X        or.l    mysignal,d0
  538. X        or.l    trapsignal,d0
  539. X        CALL    Wait,_SysBase
  540. X        and.l   d0,d6
  541. X        bne.s   fromwindow
  542. X        move.l  mysignal,d1
  543. X        and.l   d0,d1
  544. X        bne.s   icondone
  545. X        and.l   trapsignal,d0
  546. X        beq.s   waitforcall
  547. X        move.b  #1,gotguru
  548. X        bra.s   icondone
  549. X
  550. Xfromwindow  move.l  iconwindow,a0
  551. X        move.l  $56(a0),a0              ;wn->UserPort
  552. X        CALL    GetMsg,_SysBase
  553. X        tst.l   d0
  554. X        beq.s   waitforcall
  555. X        move.l  d0,a1
  556. X        CALL    ReplyMsg,_SysBase
  557. X
  558. X        lea     nsecs(PC),a0
  559. X        lea     nmics(PC),a1
  560. X        CALL    CurrentTime,intuibase
  561. X        movem.l osecs,d0-d3
  562. X        CALL    DoubleClick,intuibase
  563. X        tst.l   d0
  564. X        bne.s   icondone
  565. X        move.l  nsecs(PC),osecs
  566. X        move.l  nmics(PC),omics
  567. X        bra     waitforcall
  568. X
  569. Xicondone    move.l  iconwindow,a0
  570. X        move.l  4(a0),icnwindow         ;LeftEdge+TopEdge
  571. X        CALL    CloseWindow,intuibase
  572. X        rts
  573. X
  574. Xosecs        dc.l    0
  575. Xomics        dc.l    0
  576. Xnsecs        dc.l    0
  577. Xnmics        dc.l    0
  578. X
  579. Xiconwindow  dc.l    0
  580. Xicnwindow   dc.w    40,170,72,28
  581. X        dc.b    0,1
  582. X        dc.l    $20,$800
  583. X        dc.l    gadget,0,0,0,0
  584. X        dc.w    72,28,72,28
  585. X        dc.w    1
  586. X
  587. Xgadget        dc.l    0
  588. X        dc.w    0,0,72,28,4,2,$20
  589. X        dc.l    image
  590. X        dc.l    0,0,0,0
  591. X        dc.w    0
  592. X        dc.l    0
  593. X
  594. Ximage        dc.w    0,0,72,28,2
  595. X        dc.l    imagedata
  596. X        dc.b    3,0
  597. X        dc.l    0
  598. X
  599. Ximagedata   dc.w    $000F,$FFFF,$FFFF,$FFF8,$0000,$001F,$FFFF,$FFFF
  600. X        dc.w    $FFFC,$0000,$001F,$0000,$0000,$007C,$0000,$001F
  601. X        dc.w    $7FFF,$FFFF,$FF7C,$0000,$001F,$4A46,$0244,$557C
  602. X        dc.w    $0000,$001F,$5108,$D411,$817C,$0000,$001F,$7FFF
  603. X        dc.w    $FFFF,$FF7C,$0000,$001F,$0000,$0000,$007C,$0000
  604. X        dc.w    $001F,$30C0,$0000,$007C,$0000,$001F,$1980,$0000
  605. X        dc.w    $007C,$0000,$001F,$0F0F,$1F0F,$1F7C,$0000,$001F
  606. X        dc.w    $0619,$9999,$997C,$0000,$001F,$0F19,$999F,$987C
  607. X        dc.w    $0000,$001F,$1999,$9F18,$187C,$0000,$001F,$30CF
  608. X        dc.w    $180F,$187C,$0000,$001F,$0000,$1800,$007C,$0000
  609. X        dc.w    $001F,$0000,$0000,$007C,$0000,$001F,$FFFF,$FFFF
  610. X        dc.w    $FFFC,$0000,$000F,$FFFF,$FFFF,$FF18,$0000,$0000
  611. X        dc.w    $0000,$0000,$0000,$0000,$3FFF,$FFFF,$FFFF,$FFFF
  612. X        dc.w    $FC00,$FDFF,$FFFF,$FFFF,$FFFF,$FF00,$EBFF,$FFFF
  613. X        dc.w    $FFFF,$FFFF,$FF00,$F7FF,$FFFF,$FFFF,$F800,$0700
  614. X        dc.w    $FFFF,$FFFF,$FFFF,$FFFF,$FF00,$FFFF,$FFFF,$FFFF
  615. X        dc.w    $FFFF,$FF00,$FFFF,$FFFF,$FFFF,$FFFF,$FF00,$3FFF
  616. X        dc.w    $FFFF,$FFFF,$FFFF,$FC00,$0000,$0000,$0000,$0000
  617. X        dc.w    $0000,$0000,$0000,$0000,$0000,$0000,$0000,$FFFF
  618. X        dc.w    $FFFF,$FF80,$0000,$0000,$FFFF,$FFFF,$FF80,$0000
  619. X        dc.w    $0000,$FFFF,$FFFF,$FF80,$0000,$0000,$FFFF,$FFFF
  620. X        dc.w    $FF80,$0000,$0000,$FFFF,$FFFF,$FF80,$0000,$0000
  621. X        dc.w    $FFFF,$FFFF,$FF80,$0000,$0000,$8000,$0000,$0080
  622. X        dc.w    $0000,$0000,$8000,$0000,$0080,$0000,$0000,$8000
  623. X        dc.w    $0000,$0080,$0000,$0000,$8000,$0000,$0080,$0000
  624. X        dc.w    $0000,$8000,$0000,$0080,$0000,$0000,$8000,$0000
  625. X        dc.w    $0080,$0000,$0000,$8000,$0000,$0080,$0000,$0000
  626. X        dc.w    $8000,$0000,$0080,$0000,$0000,$FFFF,$FFFF,$FF80
  627. X        dc.w    $0000,$0000,$0000,$0000,$00E0,$0000,$0000,$0000
  628. X        dc.w    $0000,$00E0,$0000,$0000,$1FFF,$FFFF,$F800,$0000
  629. X        dc.w    $0000,$0080,$0040,$0000,$0000,$0200,$0080,$0040
  630. X        dc.w    $0000,$0000,$1400,$0080,$0040,$003F,$0000,$0800
  631. X        dc.w    $0080,$0040,$07FF,$F800,$0000,$0080,$0040,$003F
  632. X        dc.w    $0000,$0000,$0080,$0040,$0000,$3800,$FFFF,$FFFF
  633. X        dc.w    $FFFF,$FFFF,$FE00,$0000,$0080,$0040,$0000,$0000
  634. X
  635. Xiconifgad   dc.l    0
  636. X        dc.w    -83,0
  637. X        dc.w    31,10
  638. X        dc.w    $14
  639. X        dc.w    $41
  640. X        dc.w    1
  641. X        dc.l    iconifimg
  642. X        dc.l    0
  643. X        dc.l    0
  644. X        dc.l    0
  645. X        dc.l    0
  646. X        dc.w    0
  647. X        dc.l    0
  648. X
  649. Xiconifimg   dc.w    0,0
  650. X        dc.w    31,10
  651. X        dc.w    2
  652. X        dc.l    iconifdata
  653. X        dc.b    $0003,$0000
  654. X        dc.l    0
  655. X
  656. Xiconifdata  dc.w    $7FFF,$FFFC,$601F,$FFFC,$6000,$000C,$607F,$FFCC
  657. X        dc.w    $6060,$00CC,$6067,$FCCC,$7E60,$00CC,$7E7F,$FFCC
  658. X        dc.w    $7E00,$000C,$7FFF,$FFFC,$0000,$0000,$1FE0,$0000
  659. X        dc.w    $1FFF,$FFF0,$1F80,$0030,$1F9F,$FF30,$1F98,$0330
  660. X        dc.w    $019F,$FF30,$0180,$0030,$01FF,$FFF0,$0000,$0000
  661. X
  662. X
  663. X        END
  664. X
  665. SHAR_EOF
  666. echo "extracting Xoper.startup"
  667. sed 's/^X//' << \SHAR_EOF > Xoper.startup
  668. X;eine dumme Xoper Demo
  669. Xtime 2
  670. Xusescreen
  671. Xt l f d m e p i s c ?
  672. Xalias ih inputhandler
  673. Xalias dc diskchange
  674. Xalias tio timerio
  675. X
  676. X
  677. SHAR_EOF
  678. echo "extracting Xoper.doc"
  679. sed 's/^X//' << \SHAR_EOF > Xoper.doc
  680. X                 Xoper V2.0
  681. X
  682. X            Copyright (c) Werner Gunther 1989
  683. X
  684. XXoper is a freeware program to display and to control system activity.
  685. XPermition is granted to freely distribute this program.
  686. X
  687. X--------------------------------------------------------------------------
  688. XChanges in V1.2:
  689. XNew commands: Snoop, Capture, ClrCool, ClrWarm, ClrCold.
  690. XAdded        : CPU usage by task.
  691. X
  692. XCancel command has been rewritten, some minor bugs removed.
  693. X---------------------------------------------------------------------------
  694. XChanges in V1.3:
  695. XNew commands: [S]=Stack usage, Sort, Hide, Hidden, Header, Window,
  696. X          InputHandler.
  697. XAdded        : Support of startup-scripts, I/O Interrupts/second, 'Kill' an
  698. X          alias for 'Cancel'.
  699. XSome BIG bugs have been removed: The port-display used to GURU if more than
  700. X32 Ports did exist. The Cli Xoper has been started did act like having a
  701. Xpriority of 128. Unlock didn't unlock sometimes, the interrupt/priority
  702. Xfield did contain rubbish, Currentdir didn't examine all Processes.
  703. XThere were some more, minor bugs, all (hopefully) removed.
  704. X---------------------------------------------------------------------------
  705. XChanges in V1.3b:
  706. XNew commands: [C] information on CLI-Tasks.
  707. XAdded        : 'Time 0' stops any update, System-Requesters are now handeled
  708. X          correctly (affects 'Kill' and 'Closewindow').
  709. X---------------------------------------------------------------------------
  710. XChanges in V2.0:
  711. XThe 'user interface' (what user interface ?) has been rewritten from
  712. Xscratch, and a small iconify routine has been added. To customize the whole
  713. Xthing a little bit, there are a few new commands:
  714. X MinimumChars, HistoryLines, ShowHistory, KillHistory, OutputLines,
  715. XIconifyOff, BackDropIcon, UseScreen, UseWindow.
  716. XOther new commands include:
  717. XTimerIO, RemResident, Repeat, TrapGuru, Setfont, DiskChange, Alias,
  718. XSaveOutput.
  719. XAddresses are now shown as 32-Bit values for 68020 compatibility. The 'More'
  720. Xcommand is obsolete and has been removed. The 'interrupt list' has two new
  721. Xfields. 'Time' w/o parameters shows current setting. 'display commands'
  722. Xseparated by blanks will display the lists one by one, instead of
  723. Xdisplaying them all at once.
  724. X---------------------------------------------------------------------------
  725. XStarting Xoper from CLI:
  726. X
  727. XXoper [T] [F] [S] [L] [D] [R] [E] [M] [P] [I] [C]
  728. X
  729. XThese parameters are described below. For all those who like long
  730. XStartup-Sequences, overcrowded memory and hot-keys enter
  731. X
  732. XXoper -b
  733. X
  734. XThis will install Xoper in background waiting for LeftAmiga-RightAmiga-X
  735. Xto pop up. In both cases you don't have to RUN or RUNBACK Xoper, it will
  736. Xalways create its own process.
  737. X
  738. XAt startup Xoper loads and executes a file named S:Xoper.Startup if such a
  739. Xfile is available. This startup-script is used to set default values, the
  740. Xwindow size or the initial default list to be displayed. The Xoper-window
  741. Xwill only be opened after the startup-script has been processed. Look at the
  742. Xend of the document for a sample startup file.
  743. X
  744. XXoper Window:
  745. X-------------
  746. X The window (or screen if you request one) is devided into two sections: a
  747. Xvery small input line on the bottom and a large output area on the top. If
  748. Xthe output exceeds the size of the window you may scroll or 'page' through
  749. Xthe text using the num-pad keys:
  750. X
  751. XA1000  A2000/A500
  752. X  7    Home        Top of display
  753. X  1    End        Bottom
  754. X  9    Pg Up        one page up
  755. X  3    Pg Dn        one page down
  756. X  8    Up Arrow    one line up
  757. X  2    Down Arrow    one line down
  758. X  4    Left Arrow    one page left
  759. X  6    Right Arrow    one page right
  760. X
  761. X The input section has some line editing facilities and a history buffer
  762. Xcontollable with the following keys (similar to NewCon and ConMan):
  763. X
  764. XCursor left        cursor one character left
  765. XShift  left        cursor to the start of the next word
  766. XCursor right        one character right
  767. XShift  right        previous word
  768. XCursor Up        previous line in history buffer
  769. XShift  Up        top of buffer
  770. XCursor Down        next line in history buffer
  771. XShift  Down        bottom of buffer
  772. XDEL            DEL
  773. XBS            backspace
  774. XCtrl   X        delete line
  775. XCtrl   Y        delete EOL
  776. XIns   (numpad '0')      toggles insert mode (default is 'on')
  777. XDel   (numpad '.')      same as DEL
  778. X
  779. XESC            moves the input area from the bottom into the
  780. X            output section. Entering a command here (i.e
  781. X            overwiting an output line), will cause Xoper to add
  782. X            the address of that node to your command line.
  783. X            Example: Show the hunks of a 'File.System' process:
  784. X            type 'T' to get a list of all tasks, press <esc>,
  785. X            move the cursor to the line displaying the
  786. X            File.System process and type 'Hunks <enter>'. Press
  787. X            <enter> once more to return to the usual Xoper
  788. X            display.
  789. XHelp            displays a help panel.
  790. X
  791. XThe Xoper window has, beside the usual closewindow and depth-arrange
  792. Xgadgets, a custom gadget on its title bar, used to iconify Xoper. The icon
  793. Xmay be moved anywhere on the screen just by dragging it, double clicking
  794. Xthe icon will restart the program. The window itself is a simple_refresh
  795. Xwindow, so it may look a little bit sluggish when it needs a refresh.
  796. X
  797. XXoper Commands:
  798. X---------------
  799. X
  800. X Commands are entered in the command line at the bottom of the window,
  801. Xthese are divided into two groups:
  802. X
  803. XDisplay commands: These are always single character entries and may be
  804. Xspecified in any order, upper or lower case, after the prompt or from CLI
  805. Xas parameters. If more than one list has to be displayed, you may enter
  806. Xseveral commands in one line. Separating them with blanks display the lists
  807. Xone by one instead of showing them all at once.
  808. X
  809. XT = Tasks (Default if Xoper is called without parameters)
  810. XTask node (HEX), Display type, status, priority (decimal), CPU usage
  811. X(percent), processnumber for Dos-Processes (decimal), taskname.
  812. X
  813. XF = Task Flags
  814. XTask node (HEX), Allocated Signals (HEX), Signals the Task is waiting for
  815. X(HEX), Signals received (HEX), Address of the next instruction to be
  816. Xexecuted (HEX).
  817. X
  818. XC = Cli Commands
  819. XTask node (HEX), Type (interactive/batch), Mode (Background/Foreground),
  820. XCLI number, CLI name, program it executes.
  821. X
  822. XL = Libraries
  823. XBase address (HEX), open count (decimal), version (decimal), revision
  824. X(decimal), flags (binary), libraryname.
  825. X
  826. XD = Devices
  827. XBase address (HEX), open count (decimal), version (decimal), revision
  828. X(decimal), flags (binary), devicename.
  829. X
  830. XE = Resident (sorry)
  831. XBase address (HEX), priority (decimal), flags (binary), version
  832. X(decimal), type, name.
  833. X
  834. XR = Resources
  835. XBase address (HEX), open count (decimal), version (decimal), revision
  836. X(decimal), flags (binary), resource name.
  837. X
  838. XM = Memory
  839. XLower and upper bounds (HEX), bytes free (decimal), attributes, priority
  840. X(decimal), hunk name.
  841. X
  842. XP = Ports
  843. XNode address (HEX), portname, flags, signal bit (decimal), queue length
  844. X[number of messages] (decimal), taskname.
  845. X
  846. XI = Interrupts
  847. XNode address (HEX), pointer to interrupt data (HEX), pointer to interrupt
  848. Xcode (HEX), priority (decimal),[T]ype ([S]erver/[H]andler), [S]tate
  849. X([E]nabled/[D]isabled), type (interrupt queue the interrupt belongs to),
  850. Xinterrupt name.
  851. X
  852. XS = Stack
  853. XLower limit of the stack, stack size, currently used stacksize, taskname.
  854. XIf you want to minimize your stack using this utility, please note that
  855. XDOS-functions use 1500 Bytes at the bottom of the Stack frame for their own
  856. Xpurposes and note that the stacksize is only checked one time per second by
  857. Xthis command.
  858. X
  859. XH = Help ( or ?)
  860. XShow a list of commands.
  861. X
  862. X; = NOP
  863. XSkip this line (used for remarks in a script file)
  864. X
  865. XQ = Quit
  866. XSame as QUIT (see below).
  867. X
  868. XExample: Entering TPM would display Tasks, Ports and Memory. The display
  869. Xwould be updated after a few seconds (5 by default, may be changed
  870. Xanytime, see below.)
  871. X
  872. XOther commands that do not display EXEC lists:
  873. XThese commands may be entered upper or lower case. Parameters enclosed
  874. Xin '<>' must be, enclosed in '[]' may be specified. Names are usually
  875. Xentered as ascii strings, it can however happen that two or more nodes of
  876. Xthe same name exist. On tasks you may specify the DOS-Processnumber to
  877. Xsort them out. If everything fails, you can enter the Node-Address with a
  878. Xleading '$'. This address will be checked first before the command is being
  879. Xexecuted. If the check fails, you'll get an error message or a warning or
  880. Xa prompt, depending on what went wrong. Names are always the last parameter
  881. Xto enter. This may seem strange, but it is the simplest way to get rid of
  882. Xembedded blanks.
  883. X
  884. XTime <seconds>
  885. XSet time between updates. Minimum is 1 second, maximum is 255, default is 5
  886. Xseconds. Time 0 stops automatic update and waits for a kepress.
  887. XExample: Time 1
  888. X
  889. XTaskpri <priority> [processnumber] <taskname>
  890. XChange the priority of a task. Values may range from -127 to 127, better
  891. Xuse values between -5 and 5.
  892. XExample: Taskpri 1 New Cli
  893. X
  894. XMypri <priority>
  895. XShortcut for "Taskpri Xoper <priority>"
  896. XExample: Mypri 2
  897. X
  898. XPri <priority> <nodename>
  899. XChange the priority of any other node. This command does not work for Tasks.
  900. XIf the specified node has been found, the entire list the node belongs to
  901. Xwill be resorted.
  902. XExample: Pri 1 Chip Memory      (try to allocate memory in CHIP first)
  903. X
  904. XBreak [processnumber] <taskname>
  905. XSet break signals. Useful for tasks running in background or from Workbench.
  906. XExample: Break 3 New CLI
  907. X
  908. XHunks [processnumber] <processname>
  909. XShow location, BCPL-Pointers and length of memory blocks the process uses.
  910. XExample: Hunks RAM
  911. X
  912. XSnoop [processnumber] <taskname>
  913. XTrack memory allocation/deallocation of a task. Press break (CTRL-C) to
  914. Xstop. List includes: action (alloc/free), memory requirements (CHIP/ FAST/
  915. XPUBLIC etc), memory size, memory location (start, end) and the address from
  916. Xwhere AllocMem() was called.
  917. X
  918. XFiles
  919. XList lock, access, size and name of open files.
  920. X
  921. XLocks
  922. XList any lock.
  923. XBUG: Trying to lock the Volume "RAM Disk" crashes the machine sometimes. If
  924. Xa Volume "RAM Disk" is found it will be replaced by the devicename "RAM:"
  925. X(this has been fixed on WB 1.3). Make sure you don't have a disk labeled
  926. X"RAM Disk" or you'll never see its locks:-)
  927. X
  928. XCurrentdir
  929. XList current directory settings of all processes.
  930. X
  931. XDevices
  932. XList name,heads,sectors,tracks,startup-buffers and handler-process of every
  933. XDOS-device.
  934. X
  935. XInputhandler
  936. XDisplay node, priority and name (if any) of the input-handlers currently in
  937. Xuse.
  938. X
  939. XCapture
  940. XShow vectors controlling the reset, i.e. CoolCapture, ColdCapture and
  941. XWarmCapture pointers, KickMem allocations. Useful when searching
  942. Xfor Viruses, but remember that the RAD: device in 1.3 uses the KickMem
  943. Xpointer to recover from a reset.
  944. X
  945. XClrCool
  946. XClrCold
  947. XClrWarm
  948. XClear one of those pointers.
  949. X
  950. XTimerIO
  951. XDisplay pending timer requests. It shows the address of the
  952. XIORequest-structure, the unit (MICROHZ or VBLANK), the time to complete (up
  953. Xto 255 secs) and the task submitting the request.
  954. X
  955. XRemResident <resident module name>
  956. XKicks the resident module out of the ResModules-List. It does not free the
  957. Xmodule itself, but only makes sure it won't be reactivated during the next
  958. Xreset. Removing a ROM-based module does not have any effect.
  959. X
  960. XRepeat <Command string>
  961. XRepeats the command string at the current refresh rate (see 'Time').
  962. XHowever, commands not producing any output won't be repeated, but only
  963. Xexecuted once. Press <enter> to stop.
  964. XExample: Time 1
  965. X     Repeat TimerIO
  966. X
  967. XTrapGuru
  968. XActivates a trap handler similar to GOMF. It only works with a 68000
  969. Xprocessor, as it relys on a specified stack frame (at least I think so,
  970. Xcouldn't check it out). If an exeption occurs (i.e. GURU) Xoper will
  971. Xstop (or popup, if running in background) and display some information
  972. Xabout what happened (the taskname causing the error, its program counter,
  973. Xthe alert number etc.) and you'll be asked if you want to (K)ill the task
  974. Xor (I)gnore the exeption. Choosing (i)gnore will do nothing at all if the
  975. Xerroneous program was a process (as it will stop itself displaying a
  976. X'Task held...' requester), but force a task to execute a 'Wait(0L)' (i.e.
  977. Xwait forever) as tasks do directly display an alert box.
  978. X
  979. XAlias <AliasName> <CommandName>
  980. XDefines a new name to be used along with the original command name. The new
  981. Xname should not contain any blanks.
  982. XExample: Alias ih InputHandler
  983. X
  984. XLockdrive <drivename:>
  985. XPrevent DOS, Workbench and Disk-Validator from cluttering on the drive.
  986. XThis command isn't very useful, but I needed it myself. Please note that
  987. Xthe drivename is case sensitive and has to end with a ':'.
  988. X
  989. XFreedrive <drivename:>
  990. XRe-enable a drive.
  991. X
  992. XDiskChange
  993. XShow all installed diskchange interrupts. It displays the node, data and
  994. Xcode fields of the interrupt, the device it is attached to (df0:-df3:) and
  995. Xthe task which added the interrupt (if available). The main purpose for
  996. Xthis command is to check for a virus, as the diskchange interrupt is a
  997. Xwonderful place to install them.
  998. X
  999. XWindows
  1000. XList address and title of all windows.
  1001. X
  1002. XScreens
  1003. XList address and title of screens.
  1004. X
  1005. XFonts
  1006. XList address,height,width,type,fist character and last character of all
  1007. Xloaded fonts.
  1008. X
  1009. XWindowfonts
  1010. XList Windows and associated fonts.
  1011. X
  1012. XSetFont [size] <fontname> <window>
  1013. XChange the default font of a window. To avoid confusion, you should use a
  1014. Xfont with the same font size as the original font, as many programs rely on
  1015. Xthe point size.
  1016. XExample: Windows
  1017. X     Press <esc>, move the cursor to the Xoper window line and type
  1018. X     Setfont diamond.font
  1019. X     (now you know what I mean by 'relying on a font size' :-))
  1020. X
  1021. XFreeze [processnumber] <taskname>
  1022. XHalt a Task. The task should be READY or WAITING. Frozen tasks are queued in
  1023. Xa new list called FROZEN. When you leave Xoper, halted Task will be
  1024. Xreleased.
  1025. XExample: Freeze Killer Graphics Task
  1026. X
  1027. XWarm [processnum] <taskname>
  1028. XRestart a halted Task. Task must be FROZEN.
  1029. XExample: Warm Killer Graphics Task
  1030. X
  1031. XHide <taskname>
  1032. XThe task-list tend to be longer than the window size. You may inhibit the
  1033. Xoutput of some tasks you are not interested in using his command.
  1034. XExample: Hide trackdisk.device
  1035. X
  1036. XHidden
  1037. XTurn those hidden Tasks back on. It is actually a toggle.
  1038. X
  1039. XHeader
  1040. XToggle the (rather long) header on the task display on/off.
  1041. X
  1042. XSort
  1043. XThe tasks listing is sorted (on V1.3 and above) to avoid 'jumping' of the
  1044. Xdisplay. Sort toggles this feature on/off. (Stupid command, but was easy
  1045. Xto implement).
  1046. X
  1047. XInfo <librarynode | devicenode>
  1048. XShow additional information stored in the lib_IdString field.
  1049. XExample: Info arp.library
  1050. X
  1051. XOpenlib <libraryname>
  1052. XOpen a library. This is useful if you don't want a specified library being
  1053. X'flushed' out.
  1054. XExample: Openlib arp.library
  1055. X
  1056. XClear [longword]
  1057. XFill unused memory chunks with pattern, default is 0. Handy for debuggers.
  1058. XExample: Clear $66726565
  1059. X
  1060. XFlush
  1061. XClean up memory, flush unused libraries, devices and fonts.
  1062. X
  1063. XLastalert
  1064. XShow last Guru Meditation code or rubbish.
  1065. X
  1066. XUsage
  1067. XToggle CPUSE field on the task display between usage relative to all
  1068. Xpossible dispatches and usage relative to actually dispatched tasks.
  1069. XAhem...not very clear I think. Well, let me try again...
  1070. XIf you add all CPUSE fields together you get 100 % (more or less 1%). After
  1071. Xentering "Usage" adding the fields together will give you the same value as
  1072. Xshown in the 'CPU Activity field'. (I HATE having to write docs)
  1073. X
  1074. XTaskports
  1075. XDisable / enable a listing of taskports if ports are displayed.
  1076. X
  1077. XWindow <leftedge> [toptedge [width [height]]]
  1078. XWorks only on script files. Defines the window to be opened.
  1079. XExample: Window 0 0 550 190
  1080. X
  1081. XHistoryLines <number of lines>
  1082. XSet the maximum number of input lines the history buffer should hold.
  1083. XDefault is 10 lines.
  1084. X
  1085. XMinimumChars <number of characters>
  1086. XSet the minimum number of characters an inputline should have to be added to
  1087. Xthe history buffer.
  1088. XDefault is 2 characters.
  1089. X
  1090. XShowHistory
  1091. XShow the history buffer. (quite useless, I know)
  1092. X
  1093. XKillHistory
  1094. XDelete all lines from the history buffer. (still useless)
  1095. X
  1096. XOutputLines <number of lines>
  1097. XSet the maximum number of lines the output buffer may hold. If the buffer
  1098. Xoverflows, a line from the top of the buffer will be deleted for each new
  1099. Xline.
  1100. XThe default value is 500, using a maximum of 500 * 104 = 52000 bytes.
  1101. X
  1102. XSaveOutput <filename>
  1103. XWrite the contents of the output buffer to a file.
  1104. X
  1105. XIconifyOff
  1106. XTurns the iconifying routine off, freeing all memory associated with its
  1107. Xcode and image.
  1108. X
  1109. XBackDropIcon
  1110. XPuts the Xoper icon behind all other windows, instead of creating it on top
  1111. Xof them.
  1112. X
  1113. XUseScreen
  1114. XOpens Xoper on a screen. The new screen will take its data (width, colors,
  1115. Xviewmodes etc.) from the Workbench screen and open a borderless backdrop
  1116. Xwindow on it.
  1117. X
  1118. XUseWindow
  1119. XOpens Xoper on a window.
  1120. X
  1121. XQuit or just Q
  1122. XExit Xoper. If Xoper was started with '-b' or if 'Hold' was specified it
  1123. Xwill stay in background waiting for LeftAmiga-RightAmiga-X.
  1124. X
  1125. XHold
  1126. XExit Xoper but install a key-handler and stay in background. Window
  1127. Xsettings and display commands are saved.
  1128. X
  1129. XExit
  1130. XClean up and quit.
  1131. X
  1132. X!!!! WARNING: The next few commands are dangerous and 'dirty' !!!!!
  1133. X!!!!!!!!!!!! don't use them if not strictly necessary !!!!!!!!!!!!!
  1134. X
  1135. XKill [processnumber] <taskname>
  1136. XKill a task or a process. If the task has been called from CLI, the Task
  1137. Xitself and the CLI will be killed. Hunks, Windows, Screens  and the
  1138. Xteminal-window will be freed. Simple tasks are just RemTask()'ed. If it is
  1139. Xnot a CLI Task you'll be asked if it is a Workbench task, if the answer is
  1140. X'Yes' unloading will be done by the Workbench. If not, you will be prompted
  1141. Xif Xoper should unload the code. Enter 'No' if you don't know how the task
  1142. Xhas been started.
  1143. X
  1144. XClosewindow <title>
  1145. XCloses a Window. Please, use it only if the corresponding Task has been
  1146. X'Cancel'ed. Use the Window-Structure address if the window has no name.
  1147. X
  1148. XClosescreen <title>
  1149. Xsame as above, but for screens.
  1150. X
  1151. XUnlock <lock (BPTR)>
  1152. XUnlock a file.
  1153. X
  1154. XCloselib <libraryname>
  1155. XThis is exactly the same as CloseLibrary().
  1156. X
  1157. XCD [processnumber] <processname>
  1158. XChange the current directory of a process. You are prompted if the old
  1159. Xdirectory lock should be unlocked.
  1160. X
  1161. XSignal <mask> [processnumber] <taskname>
  1162. XSet any task-signal. Mask is a hexadecimal value with or w/o leading '$'.
  1163. XSee task's SIGWAIT field for sensible values. Tasks normaly do not wait for
  1164. Xsignals only, but for messages, that's why this command may not have the
  1165. Xdesired effect, but it is quite useful for tasks hanging around and waiting
  1166. Xfor events that may never happen. Warning: Using Signal without any
  1167. Xknowledge about what you are going to signal may cause a system-crash!
  1168. XExample: Signal 10000000 PopCLI III
  1169. X
  1170. X----------------------------------------------------------------------------
  1171. X;Sample Startup Script (to be placed in s:Xoper.Startup)
  1172. X;
  1173. X; Window definition on a overscanned + PAL Workbench screen
  1174. XWindow 122 0 550 230
  1175. X;
  1176. X;don't display some Tasks
  1177. X;
  1178. XHide CON
  1179. XHide trackdisk.device
  1180. X;
  1181. X;but turn them on on Startup
  1182. X;
  1183. XHidden
  1184. X;
  1185. X;Change the default list to Ports
  1186. X;
  1187. XP
  1188. X;don't display any prompt if the window is full
  1189. XMore
  1190. X----------------------------------------------------------------------------
  1191. XPlease send flames, bug reports and especially a list of features you would
  1192. Xlike to have included in the next version to
  1193. X
  1194. X Werner Gunther
  1195. X Wingertspfad 12
  1196. X D 6900 Heidelberg
  1197. X (Germany)
  1198. X
  1199. Xor to my EMAIL address for a fast response:
  1200. X
  1201. X G35@DHDURZ1.BITNET
  1202. SHAR_EOF
  1203. echo "End of archive 3 (of 3)"
  1204. # if you want to concatenate archives, remove anything after this line
  1205. exit
  1206.